<div class="h_a">搜索</div>
<div class="search_type cc mb10">
        <form action="" method="post">

                <div class="search_type cc ">

                        <span class='home_info'>关键词:</span>
                        <input type="text" class="input length_3" name="where[name]" value="{$_POST['where']['name']}" placeholder="请输入关键字...">
                        <span class='home_info'>状态:</span><label><input type="radio" name="where[status]" value="1" /> 显示</label> <label><input type="radio" name="where[status]" value="0" /> 隐藏 </label>
                        <span class='home_info'> 时间段:</span><select name="_selectType">
                                <option value='-1'>=请选择=</option>
                                <option value='0'>=创建时间=</option>
                                <option value='1'>=修改时间=</option>
                        </select>
                        <input type="text" name="_start"  class="input length_2 J_datetime">
                        <input type="text" name="_end"  class="input length_2 J_datetime">
                        <button class="btn">搜索</button>

                </div>
        </form>
</div>


<div class="table_list">
        <table width="100%" cellspacing="0">
                <thead>
                        <tr>
                                <td width="10"><input type="checkbox" class="J_check_all" data-direction="x" data-checklist="J_check_x"></td>
                                <td width="30"  align="center">ID</td>
                                <td>类别名称</td>
                                <td width="120">上一级</td>

                                <td width="80" align="center">状态</td>
                                <td width="120">创建时间</td>
                                <td width="120">修改时间</td>
                                <td width="120" align="right">管理操作</td>

                        </tr>
                </thead>
                <tbody>
                <artlist module='FoodCategory' order='cid desc'>
                        <tr>
                                <td><input type="checkbox" class="J_check" data-yid="J_check_y" data-xid="J_check_x"  value="{$list.cid}" name="ids[]"></td>
                                <td align="center">{$list.cid}</td>
                                <td>{$list.name}</td>
                                <td>{$list.position}</td>
                                <td align="center"><empty name="list.status">隐藏<else/>显示</empty></td>
                        <td>{$list.input_time|toDate}</td>
                        <td>{$list.modified_time|toDate}</td>
                        <td align="right"><a href="/index.php?g=Contents&m=Position&a=public_item&posid=1">查看/修改信息</a> | <a href="javascript:confirmurl('/index.php?g=Contents&m=Position&a=delete&posid=1', '是否删除?')">删除</a></td>
                        </tr>  
                </artlist>
                </tbody>
        </table>
</div>